package com.groupbuying.currency.consumer.service.impl;

import com.groupbuying.currency.consumer.dao.CurrencyCustomerLogDao;
import com.groupbuying.currency.consumer.domain.CurrencyCustomerLogDO;
import com.groupbuying.currency.consumer.service.CurrencyCustomerLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class CurrencyCustomerLogServiceImpl implements CurrencyCustomerLogService {
	@Autowired
	private CurrencyCustomerLogDao currencyCustomerLogDao;
	
	@Override
	public CurrencyCustomerLogDO get(String logId){
		return currencyCustomerLogDao.get(logId);
	}
	
	@Override
	public List<CurrencyCustomerLogDO> list(Map<String, Object> map){
		return currencyCustomerLogDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return currencyCustomerLogDao.count(map);
	}
	
	@Override
	public int save(CurrencyCustomerLogDO currencyCustomerLog){
		return currencyCustomerLogDao.save(currencyCustomerLog);
	}
	
	@Override
	public int update(CurrencyCustomerLogDO currencyCustomerLog){
		return currencyCustomerLogDao.update(currencyCustomerLog);
	}
	
	@Override
	public int remove(String logId){
		return currencyCustomerLogDao.remove(logId);
	}
	
	@Override
	public int batchRemove(String[] logIds){
		return currencyCustomerLogDao.batchRemove(logIds);
	}
	
}
